package com.mornd.gulimall.order.utils;

import cn.hutool.core.lang.UUID;

/**
 * @author: mornd
 * @dateTime: 2023/8/22 - 14:56
 */
public class IdWorker {

    public static String uuid(boolean isSimple) {
        return UUID.fastUUID().toString(isSimple);
    }

    public static String uuid() {
        return UUID.fastUUID().toString(false);
    }
}
